home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Frameworks
/
Extension Shell 1.5
/
Extension Shell 1.5 (Source)
/
ExtensionShell.h
< prev
next >
Wrap
Text File
|
1995-10-30
|
1KB
|
74 lines
/* NAME:
ExtensionShell.h
WRITTEN BY:
Dair Grant
DESCRIPTION:
Header file for ExtensionShell.c
___________________________________________________________________________
*/
#ifndef __EXTENSIONSHELL__
#define __EXTENSIONSHELL__
//=============================================================================
// Include files
//-----------------------------------------------------------------------------
#include <QuickDraw.h>
#include <Traps.h>
//=============================================================================
// Defines
//-----------------------------------------------------------------------------
#define GrafSize 206 // From IM I-209. Total QDraw storage
#define ADD_GRAFSIZE (GrafSize - 130) // 130 bytes in shown fields
#define kInitGrafTrap _InitGraf // 0xA86E
#define kUnimplementedTrap _Unimplemented // 0xA89F
//=============================================================================
// Structures
//-----------------------------------------------------------------------------
typedef struct {
char filler[ADD_GRAFSIZE]; // Internal QD storage
long randSeed;
BitMap screenBits;
Cursor arrow;
Pattern dkGray;
Pattern ltGray;
Pattern gray;
Pattern black;
Pattern white;
GrafPtr thePort;
} FakeQD;
#endif